﻿
namespace Entity
{
    /// <summary>
    /// 拼团商品表
    /// </summary>
    public class TeamBuyProduct : BaseStoreEntity
    {
        /// <summary>
        /// 商品名称
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 商品简述
        /// </summary>
        public string? Description { get; set; }

        /// <summary>
        /// 商品主图
        /// </summary>
        public string? Image { get; set; }

        /// <summary>
        /// 商品描述图
        /// </summary>
        [SugarColumn(IsJson = true)]
        public List<string>? DescImage { get; set; }

        /// <summary>
        /// 产品价格
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 团购价格
        /// </summary>
        public decimal GourpPrice { get; set; }

        /// <summary>
        /// 拼团赠送积分
        /// </summary>
        public decimal Point { get; set; }

        /// <summary>
        /// 代理商返佣
        /// </summary>
        public decimal ProxyPrice { get; set; }

        /// <summary>
        /// 团长，商户返佣
        /// </summary>
        public decimal StorePrice { get; set; }

        /// <summary>
        /// 团长，商户二级返佣 
        /// </summary>
        public decimal StorePrice2 { get; set; }

        /// <summary>
        /// 二级推荐人返佣
        /// </summary>
        public decimal UserPrice { get; set; }

        /// <summary>
        /// 最大红包金额
        /// </summary>
        public decimal MaxPacketPrice { get; set; }

        /// <summary>
        /// 单次拼团 随机的红包金额
        /// </summary>
        public decimal OnePacketPrice { get; set; }
    }
}
